<?php

class myUser extends sfGuardSecurityUser
{
    public function getId() {
        return $this->getGuardUser()->getId();
    }

    public function getAvatar() {
        return $this->getGuardUser()->getProfile()->getAvatar();
    }

    public function getAvatarUrl() {
        return $this->getGuardUser()->getProfile()->getAvatarUrl();
    }

    public function getUsername() {
        return $this->getGuardUser()->getUsername();
    }

    public function getEmail() {
        return $this->getGuardUser()->getProfile()->getEmail();
    }
}
